package com.example.service.impl;

import com.example.entity.HnyyWnPermission;
import com.example.mapper.PermissionMapper;
import com.example.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;
    @Override
    public int add(HnyyWnPermission permission) {
        return permissionMapper.add(permission);
    }
}
